package com.day11.chouxiang2;

public class AnimalDemo4 {
    public static void main(String[] args) {
        Animal4 a=new Cat();
        a.setName("加菲");
        a.setAge(5);
        System.out.println(a.getName()+","+a.getAge());
        a.eat();

    }
}
